//
//  NSURL+Steam.m
//  GRFMRemotePlayer_Example
//
//  Created by Guo Rui on 2018/1/16.
//  Copyright © 2018年 guorui. All rights reserved.
//

#import "NSURL+Steam.h"

@implementation NSURL (Steam)

- (NSURL *)steamingURL
{
    NSURLComponents *components = [NSURLComponents componentsWithString:self.absoluteString];
    components.scheme = @"streaming";
    return components.URL;
}

- (NSURL *)httpURL
{
    NSURLComponents *components = [NSURLComponents componentsWithString:self.absoluteString];
    components.scheme = @"http";
    return components.URL;
}

@end
